package szzc.sdk;

import android.content.Context;

import szzc.sdk.http.HttpClient;
import szzc.sdk.http.impl.volley.VolleyHttpClient;

/**
 * Created by lianbin.xu@ucarinc.com on 2017/9/20.
 */

public class SDKContext {
    private Context appContext;
    private HttpClient httpClient;

    public SDKContext(Context context){
        appContext = context.getApplicationContext();
        httpClient = new VolleyHttpClient();
    }

    public HttpClient getHttpClient(){
        return httpClient;
    }

    public void setHttpClient(HttpClient clientNew){
        httpClient = clientNew;
    }

}
